package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 换型参数下发
 * @Author: LiCY
 * @Date:   2024-05-17
 * @Version: V1.0
 */
@Data
@TableName("mes_part_data_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_part_data_cfg对象", description="换型参数下发")
public class MesPartDataCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**数据配置ID*/
//	@Excel(name = "数据配置ID", width = 15)
    @ApiModelProperty(value = "数据配置ID")
    @TableId
    private Long ptdataid;
	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15)
    @ApiModelProperty(value = "产线或产线组")
    private String line;
	/**工位*/
	@Excel(name = "工位", width = 15)
    @ApiModelProperty(value = "工位")
    private String op;
	/**工站*/
	@Excel(name = "工站", width = 15)
    @ApiModelProperty(value = "工站")
    private String stn;
	/**产品或产品组*/
	@Excel(name = "产品或产品组", width = 15)
    @ApiModelProperty(value = "产品或产品组")
    private String partno;
	/**数据配置名称*/
	@Excel(name = "数据配置名称", width = 15)
    @ApiModelProperty(value = "数据配置名称")
    private String name;
	/**数据配置描述*/
	@Excel(name = "数据配置描述", width = 15)
    @ApiModelProperty(value = "数据配置描述")
    private String description;
	/**值*/
	@Excel(name = "值", width = 15)
    @ApiModelProperty(value = "值")
    private String value;
	/**数值类型*/
	@Excel(name = "数值类型", width = 15)
    @ApiModelProperty(value = "数值类型")
    @Dict(dicCode = "Param_value_type")
    private String valueType;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String um;
	/**PLC名称*/
	@Excel(name = "PLC名称", width = 15)
    @ApiModelProperty(value = "PLC名称")
    private String plcName;
	/**PLC地址*/
	@Excel(name = "PLC地址", width = 15)
    @ApiModelProperty(value = "PLC地址")
    private String plcTagAddr;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "status")
    private String status;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
    @Dict(dicCode = "part_data_type")
    private String type;
	/**是否只读*/
	@Excel(name = "是否只读", width = 15)
    @ApiModelProperty(value = "是否只读")
    @Dict(dicCode = "readonly_type")
    private String readonly;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
